package com.woniu.cms.lease.core.service;

import com.woniu.cms.lease.core.VO.StorageVO;
import com.woniu.cms.lease.core.entity.LeaseManage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-18
 */
public interface ILeaseManageService extends IService<LeaseManage> {

    //查询所有
    List<LeaseManage> queryAll();

    //新增仪表申请单
    int add(LeaseManage leaseManage);

    //查询vo对象
    List<StorageVO> alll();
    //修改
    boolean modify(LeaseManage leaseManage);

    //修改归还状态
    int returne(@Param("id") int id);
    //租金合计
    Integer TotalRent(@Param("id") Integer id);

}
